package com.zjt.util;

import java.util.List;

public class TreeMenuNode {
	private Integer id;
	private Integer pId;
	private String name;
	private Integer state;
	private String icon;

	private List<TreeMenuNode> children;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getpId() {
		return pId;
	}

	public void setpId(Integer pId) {
		this.pId = pId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<TreeMenuNode> getChildren() {
		return children;
	}

	public void setChildren(List<TreeMenuNode> children) {
		this.children = children;
	}

	public TreeMenuNode(Integer id, Integer pId, String name, Integer state, String icon, List<TreeMenuNode> children) {
		super();
		this.id = id;
		this.pId = pId;
		this.name = name;
		this.state = state;
		this.icon = icon;
		this.children = children;
	}

	
	
	
	public TreeMenuNode(Integer id, Integer pId, String name) {
		super();
		this.id = id;
		this.pId = pId;
		this.name = name;
	}

	public TreeMenuNode() {
		super();
	}
    
	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	

}
